[@ui.dhtml title="Index Page"]
<div id="login">
  <div class="loginform">
	[#if tips??]<p class='error'>${tips}</p>[/#if]
	<form action="${ui.base}/user/login" method="post" name="LoginForm" id="LoginForm" onsubmit="return validLogin();">
	<table width="50%" height="97" border="1" align="center">
	  <tr class="odd">
	    <th width="31%" align="right" scope="row">Account</th>
	    <td width="69%"><label>
	      <input name="id" type="text" class="txt id" id="id" size="23" maxlength="25"/>
	    </label></td>
	  </tr>
	  <tr>
	    <th align="right" scope="row">Password</th>
	    <td><label>
	      <input name="pass" class="txt pass" type="password" id="pass" size="23" maxlength="25"/>
	    </label></td>
	  </tr>
	  <tr class="odd">
	    <th align="right" scope="row">Security Code</th>
	    <td><label>
	      <input name="sercurityCode" class="txt code" type="text" id="scode" maxlength="4"/>
	      <span class='hscode'>
	      <img src="${ui.base}/sCode" id="sscode" align="absmiddle"/>&nbsp;
	      <a href="javascript:;" id="refreshScode">Refresh</a>
	      <span>
	    </label></td>
	  </tr>
	  <tr>
	    <th align="right" scope="row"><a href="${ui.base}/user/toRegister">Regist Now?</a></th>
	    <td><label>
	      <input type="submit" class="form-button" disabled="disabled" id="okButton" value="Submit" />&nbsp;&nbsp;
	      <input type="reset" class="form-button" id="button2" value="Reset" />
	    </label></td>
	  </tr>
	</table>
	</form>
	<p>
		development by <a href="http://blog.springsource.com/2011/01/04/green-beans-getting-started-with-spring-mvc/" target="blank">Spring3MVC</a>
		 | <a href="http://www.mybatis.org" target="blank">Mybatis</a> | <a href="http://www.springsource.org" target="blank">Spring</a> | <a href="http://www.freemarker.org" target="blank">Freemarker</a> | <a href="http://db.apache.org/derby" target="blank">Derby</a> 
		 | <a href="http://www.jquery.com" target="blank">Jquery</a>
		<br><br>
		&copy 2011
	<p>
	</div>
</div>
<script>BASE="${ui.base}";$(index)</script>
[/@ui.dhtml]